Skip to content

Comments

New parameters API from ProtoData#180

Merged
alexander-yevsyukov merged 3 commits intomasterfrom
new-protodata-params
Jan 4, 2025
Merged

New parameters API from ProtoData#180
alexander-yevsyukov merged 3 commits intomasterfrom
new-protodata-params

Conversation

@alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Jan 3, 2025

This PR migrates to latest version of ProtoData, adopting API changes in production code and tests. Sections below describe the changes in details.

ProtoDataConfigPlugin now uses WorkingDirectory conventions

Previously, the path to the settings directory was obtained from the CreateSettingsDirectory task added by ProtoData Gradle plugin. The new version no longer adds the task, and ProtoDataConfigPlugin now uses the conventional settings directory returned by the WorkingDirectory class.

Consolidated test directories

Tests now use only one projectDir. Previously, ouputDir and settingsDir were also used. Now these directories are created under the projectDir. This simplifies the analysis of the parameters, settings, and the generated code during debugging.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Jan 3, 2025
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review January 3, 2025 19:58
Copy link
Contributor

@armiol armiol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexander-yevsyukov alexander-yevsyukov merged commit 346c824 into master Jan 4, 2025
7 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the new-protodata-params branch January 4, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants